﻿namespace EFS.RC.CC.Deployment.Tables.DataRow
{
	internal static class Skill
	{
		/// <summary>
		/// Load internals from data row
		/// </summary>
		/// <param name="row"></param>
		internal static EFS.RC.CC.Deployment.Entities.Skill Load(System.Data.DataRow row)
		{
			// check
			EFS.Common.Verify.Reference(row, "row");

			// loaded
			EFS.RC.CC.Deployment.Entities.Skill loaded = new EFS.RC.CC.Deployment.Entities.Skill();

			// ID
			loaded.ID = EFS.DB.DataRow.Int32(row, "ID");

			// Name
			loaded.Name = EFS.DB.DataRow.String(row, "NAME");

			// done
			return loaded;
		}
	}
}